#include "Precompile.h"
#include "EngineFactory.h"
#include "WindowsEngineInterface.h"

namespace Core{
	boost::shared_ptr<EngineInterface> EngineFactory::createEngine(EnginePlatforms platform){
		switch(platform){
		case EP_DX10:
			return boost::shared_ptr<EngineInterface>(new WindowsEngineInterface);
		case EP_DX9:
			return boost::shared_ptr<EngineInterface>(new WindowsEngineInterface);
		}
		return boost::shared_ptr<EngineInterface>();
	}
}